<?php
namespace app\model;
use app\model\Members;

class UserFollow extends Base
{
    protected $name = 'user_follow';

    public function getMemberAttr($value,$data){
        $member = Members::get(['id'=>$data['member_id']]);
        return $member;
    }
}